package com.example.entity.vo.PurchaseOrder;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "采购单详情vo")
public class PurchaseDetailVo implements Serializable {

    @ApiModelProperty("请购人员名称")
    private String purchaseUserName;

    @ApiModelProperty("请购部门名称")
    @JsonProperty("purchaseDepartmentName")
    private String ME002;

    @ApiModelProperty("采购单别")
    @JsonProperty("type")
    private String TC001;

    @ApiModelProperty("采购单别名称")
    @JsonProperty("typeName")
    private String MQ002;

    @ApiModelProperty("采购单号")
    @JsonProperty("id")
    private String TC002;

    @ApiModelProperty("采购日期")
    @JsonProperty("purchaseDate")
    private String TC003;

    @ApiModelProperty("供应商")
    @JsonProperty("supplier")
    private String TC004;

    @ApiModelProperty("供应商名称")
    @JsonProperty("supplierName")
    private String MA002;

    @ApiModelProperty("供应商名字全称")
    @JsonProperty("supplierFullName")
    private String MA003;

    @ApiModelProperty("单据日期")
    @JsonProperty("documentDate")
    private String TC024;

    @ApiModelProperty("审核者")
    @JsonProperty("userId")
    private String TC025;

    @ApiModelProperty("审核者名称")
    @JsonProperty("userName")
    private String MF002;

    @ApiModelProperty("工厂编号")
    @JsonProperty("factoryId")
    private String TC010;

    @ApiModelProperty("采购人员编号")
    @JsonProperty("ProcurementStaffId")
    private String TC011;

    @ApiModelProperty("采购人员名称")
    @JsonProperty("ProcurementStaffname")
    private String MV002;

    @ApiModelProperty("交易币种")
    @JsonProperty("coinType")
    private String TC005;

    @ApiModelProperty("汇率")
    @JsonProperty("exchangeRate")
    private Double TC006;

    @ApiModelProperty("税种")
    @JsonProperty("taxType")
    private String TC018;

    @ApiModelProperty("税率")
    @JsonProperty("tax")
    private String TC026;

    @ApiModelProperty("付款条件编号")
    @JsonProperty("paymentId")
    private String TC027;

    @ApiModelProperty("付款条件名称")
    @JsonProperty("paymentName")
    private String NA003;

    @ApiModelProperty("付款条件")
    @JsonProperty("payment")
    private String TC008;

    @ApiModelProperty("备注")
    @JsonProperty("remark")
    private String TC009;

    @ApiModelProperty("结束")
    @JsonProperty("finish")
    private String TCD01;

    @ApiModelProperty("项目编号")
    @JsonProperty("projectId")
    private String TC047;

    @ApiModelProperty("签核状态码")
    @JsonProperty("statusCode")
    private String TC030;

    @ApiModelProperty("已开票金额")
    @JsonProperty("invoicedAmount")
    private String TC044;

    @ApiModelProperty("已开票税额")
    @JsonProperty("invoicedTaxAmount")
    private String TC045;

    @ApiModelProperty("运输方式")
    @JsonProperty("transportMethod")
    private String TC017;

    @ApiModelProperty("价格说明")
    @JsonProperty("priceDescription")
    private String TC007;

    @ApiModelProperty("打印格式")
    @JsonProperty("printFormat")
    private String TC012;

    @ApiModelProperty("打印次数")
    @JsonProperty("printNumber")
    private String TC013;

    @ApiModelProperty("订金比率")
    @JsonProperty("depositRate")
    private Double TC028;

    @ApiModelProperty("送货地址(一)")
    @JsonProperty("shippingAddressOne")
    private String TC021;

    @ApiModelProperty("送货地址(二)")
    @JsonProperty("shippingAddressTwo")
    private String TC022;

    @ApiModelProperty("采购金额 (税前金额)")
    @JsonProperty("purchaseAmount")
    private String TC019;

    @ApiModelProperty("数量合计 (计价数量)")
    @JsonProperty("totalNumber")
    private Double TC023;

    @ApiModelProperty("税额")
    @JsonProperty("totalTax")
    private String TC020;

    @ApiModelProperty("总包装量")
    @JsonProperty("totalPackageNumber")
    private Double TC029;

    @ApiModelProperty("金额合计 (采购金额合计)")
    @JsonProperty("totalAmount")
    private String UDF03;

    @ApiModelProperty("创建者")
    @JsonProperty("creator")
    private String CREATOR;

    @ApiModelProperty("联系电话一")
    @JsonProperty("TEL_ONE")
    private String MA008;

    @ApiModelProperty("联系电话二")
    @JsonProperty("TEL_TWO")
    private String MA009;

    @ApiModelProperty("传真")
    @JsonProperty("FAXNO")
    private String MA010;

    @ApiModelProperty("联系人")
    @JsonProperty("contactPerson")
    private String MA013;

    @ApiModelProperty("采购单单身列表")
    private List<PurtdListVo> purtdList;

    @ApiModelProperty("文件列表")
    private List<String> urls;

    @ApiModelProperty("变更状态")
    private String cangeOrder;

//    @ApiModelProperty("创建人")
//    private String modifier;

    @ApiModelProperty("创建人")
    private String UDF11;

    @ApiModelProperty("修改人")
    private String UDF12;

    @ApiModelProperty("请购部门编号")
    @JsonProperty("purchaseDepartmentCode")
    private String me001;

    @ApiModelProperty("部门经理编号")
    @TableField(exist = false)
    private String directorcode;

    @ApiModelProperty("部门经理名称")
    @TableField(exist = false)
    private String directorname;

    @ApiModelProperty("税前金额 自定义")
    private Double udf52;

    @ApiModelProperty("税额 自定义")
    private Double udf53;
}
